#!/usr/bin/python
# -*- coding: UTF-8 -*-

from multiprocessing import Process

lis = []

def foo(i):
    lis.append(i)
    print("This is Process:", i," and lis is:", lis, " and lis.address is:", id(lis))

if __name__ == '__main__':
    for i in range(5):
        p = Process(target=foo, args=(i,))
        p.start()
    print("The end of list_1:", lis)